package com.ymttest.database.mongo;

import com.ymt.base.BaseBean;

/**
 * set4a:SmsProxyDB表名：ApplicationConfig
 * 
 * @author chenjiazhu
 *
 */
public class ApplicationConfigBean  extends BaseBean {

	/**
    * 编号
    */
    public String Id ;

    /**
    * 应用编号
    */
    public String AppId ;

    /**
    * 接口名称
    */
    public String ApiName ;

    /**
    * 渠道编号
    */
    public String ChannelId ;

    /**
    * 联系人
    */
    public String Contact ;

    /**
    * 是否使用黑名单
    */
    public boolean UseBlackList ;

    /**
    * 是否使用白名单
    */
    public boolean UseWhiteList ;

    /**
    * 全局黑名单，多个用','分隔
    */
    public String BlackList ;

    /**
    * 全局白名单，多个用','分隔
    */
    public String WhiteList ;

    /**
    * 发送短信的频率控制的时间值
    */
    public int Time ;

    /**
    * 时间单位
    *Second = 0,
    *Minute = 1,
    *Hour = 2,
    *Day = 3
    */
    public int TimeUnit ;

    /**
    * 发送短信的频率控制的上限值（条数）
    */
    public int Limit ;

    /**
    * 超过发送短信的频率控制的上限值后被加入黑名单的时间值（分钟）
    */
    public int BlackListMinutes ;

	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getAppId() {
		return AppId;
	}

	public void setAppId(String appId) {
		AppId = appId;
	}

	public String getApiName() {
		return ApiName;
	}

	public void setApiName(String apiName) {
		ApiName = apiName;
	}

	public String getChannelId() {
		return ChannelId;
	}

	public void setChannelId(String channelId) {
		ChannelId = channelId;
	}

	public String getContact() {
		return Contact;
	}

	public void setContact(String contact) {
		Contact = contact;
	}

	public boolean isUseBlackList() {
		return UseBlackList;
	}

	public void setUseBlackList(boolean useBlackList) {
		UseBlackList = useBlackList;
	}

	public boolean isUseWhiteList() {
		return UseWhiteList;
	}

	public void setUseWhiteList(boolean useWhiteList) {
		UseWhiteList = useWhiteList;
	}

	public String getBlackList() {
		return BlackList;
	}

	public void setBlackList(String blackList) {
		BlackList = blackList;
	}

	public String getWhiteList() {
		return WhiteList;
	}

	public void setWhiteList(String whiteList) {
		WhiteList = whiteList;
	}

	public int getTime() {
		return Time;
	}

	public void setTime(int time) {
		Time = time;
	}

	public int getTimeUnit() {
		return TimeUnit;
	}

	public void setTimeUnit(int timeUnit) {
		TimeUnit = timeUnit;
	}

	public int getLimit() {
		return Limit;
	}

	public void setLimit(int limit) {
		Limit = limit;
	}

	public int getBlackListMinutes() {
		return BlackListMinutes;
	}

	public void setBlackListMinutes(int blackListMinutes) {
		BlackListMinutes = blackListMinutes;
	}
    
}
